<template>
  <view class="page">
    <UserDate/>
    
    <view class="tcard">
      <view class="title">
        候诊信息
      </view>
      <view class="tform">
        <view class="tform-item">
          <view class="label">预约科室</view>
          <view class="value">骨科门诊</view>
        </view>
        <view class="tform-item">
          <view class="label ">就诊位置</view>
          <view class="value red">
            <view class="pst flexC" @click="$router.push('/pages/navInHsp/navInHsp')">
              <img :src="`${$store.state.baseApi}/icon/way.png`" alt="">
              路线
            </view>
            门诊三楼B区外科诊区
          </view>
        </view>
        <view class="tform-item">
          <view class="label">候诊诊室</view>
          <view class="value">121诊室</view>
        </view>
        <view class="tform-item">
          <view class="label">预约医生</view>
          <view class="value">肖友明（副主任医师）</view>
        </view>
      </view>
    </view>
    
    <view class="tcard">
      <view class="">
        <view class="numtitle">
          当前叫号
        </view>
        <view class="num">
          18
        </view>
        
        <view class="line"></view>
        
        <view class="flexR queueDetail">
          <view class="">
            <view class="">
              我的就诊号
            </view>
            <view class="">
              32
            </view>
          </view>
          <view class="">
            <view class="">
              前面等待人数
            </view>
            <view class="">
              14
            </view>
          </view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
  import UserDate from '@/components/UserInfo/user-date.vue'
  export default {
    components: {UserDate},
    data() {
      return {
        
      }
    },
    methods: {
      
    }
  }
</script>

<style lang="scss" scoped>
.numtitle {
  width: 200upx;
  height: 66upx;
  background: #E2EDFF;
  border-radius: 50upx;
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  font-size: 28upx;
  color: rgba(0,0,0,0.7);
  line-height: 66upx;
  margin: 8upx auto 24upx;
  text-align: center;
}
.num {
  font-family: PingFang SC, PingFang SC;
  font-weight: 500;
  font-size: 48upx;
  color: #3E81F7;
  line-height: 44upx;
  text-align: center;
  margin-bottom: 30upx;
}
.queueDetail {
  justify-content: space-around;
  margin-top: 24upx;
  view {
    text-align: center;
    margin-bottom: 14upx;
  }
}
.pst {
  height: 0;
  margin-top: -10upx;
  margin-left: 10px;
  align-items: center;
  float: right;
  font-family: PingFang SC, PingFang SC;
  font-weight: 400;
  font-size: 24upx;
  color: #3E81F7;
  line-height: 44upx;
  margin-right: -8upx;
  >img {
    width: 32upx;
    height: 32upx;
  }
}
</style>
